package com.ATM;

public class Account {
    private String cardId;//账户id
    private String UserName;//账户名
    private char sdx;//性别
    private String passWord;//密码
    private double money;//余额
    private double limit;//限额

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getUserRealName() {
        return UserName;
    }
    public String getUserName() {
        return UserName+(sdx=='男'?"先生":"女士");
    }

    public void setUserName(String userName) {
        UserName = userName;
    }

    public char getSdx() {
        return sdx;
    }

    public void setSdx(char sdx) {
        this.sdx = sdx;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public double getLimit() {
        return limit;
    }

    public void setLimit(double limit) {
        this.limit = limit;
    }
}
